/*
 * @Author: xiehangyun 
 * @Date: 2025-05-16 10:34:03 
 * @Last Modified by: 肖思汗
 * @Last Modified time: 2025-06-27 17:27:47
 */

import Api from "src/api/Api";

// 我的推广的接口
class MyPromotionApi extends Api {

    constructor() {
        super()
    }

    //获取推广码
    createPromotionCode() {
        return this._get("/myPromotion/createPromotionCode");
    }

    //查询当前登陆用户收益明细
    queryUserIncomeMap() {
        return this._get("/myPromotion/queryUserIncomeMap");
    }


}

const myPromotionApi = new MyPromotionApi();

export default myPromotionApi;
